// created by hs

export class AdministrationMap {
    private options: any

    constructor(options: any) {
        this.options = options
    }

    public addWMSLayer() {
        var superMapLayer = new g2.carto.TileLayer({
            layerType: g2.carto.LayerType.TileLayer,
            tileType: g2.carto.TileType.WMS,
            // version: "1.1.0",
            // layers: "tiger:tiger_roads",
            layers: "jyxxxzqh:gis_regionalism_province_utf8",
            projection: "EPSG:4326",
            // url: "http://172.18.24.33:8080/geoserver/tiger/wms"
            url: "http://106.37.227.19:38200/geoserver/jyxxxzqh/wms"
        });
        return superMapLayer
    }
}